<?php
function getUrlAdmin($page, $paramsUrl) {
	$url = 'index.php?p='.$page;
	if ($paramsUrl !== null && $paramsUrl !== '') {
		$url .= '&'.$paramsUrl;
	}
	return $url;
}

function echoEscapeStr($str) {
	echo htmlentities($str);
}